// import com.alibaba.druid.sql.ast.statement.SQLShowStatement;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

// import java.util.ArrayList;
// import java.util.List;

#include "DrdsShowDDLJobs.h"
#include "../../visitor/MySqlASTVisitor.h"

DrdsShowDDLJobs::DrdsShowDDLJobs()
{
  jobIds = std::make_shared<std::list<long>>();
}
void DrdsShowDDLJobs::accept0(MySqlASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(DrdsShowDDLJobs));
  visitor->endVisit(SharedObject(DrdsShowDDLJobs));
}

BOOL_ptr DrdsShowDDLJobs::isFull()
{
  return full;
}

void DrdsShowDDLJobs::setFull(BOOL_ptr full)
{
  this->full = full;
}

std::shared_ptr<std::list<long>> DrdsShowDDLJobs::getJobIds()
{
  return jobIds;
}

void DrdsShowDDLJobs::addJobId(long id)
{
  jobIds->push_back(id);
}
